package chapter5.No5_1_定时器Timer的使用.demo2;

import java.util.TimerTask;

/**
 * Created by Administrator on 2016/11/24.
 */
public class MyTask extends TimerTask {
    @Override
    public void run() {
        System.out.println("执行任务"+System.currentTimeMillis());
    }
}
